<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>会员信息服务</title>
<%@ include file="/commons/static.jsp"%>
<link rel="shortcut icon" href="${ctx }/home/common/img/favicon.png"
	type="image/x-icon">
</head>
<style>
</style>
<body>
	<div class="col-lg-8  col-md-12 col-sm-12 col-xs-12 col-lg-offset-2">
		<div class="widget">
			<div class="widget-header">
				<h2 class="text-center">调查问卷</h2>
			</div>
			<div class="widget-body" style="overflow: hidden">
				<div class="col-lg-12 col-sm-12 col-xs-12 ">
					<div class="widget">
						<section id="sec1" name="section1" style="display: block">
							<form class="form-horizontal form-bordered" id="form" action="${ctx }/customer/saveSurveyRepor" method="post" role="form">
								<input id="customerId" value="${id }" hidden name="customerId" />
								<input id="id" value="${re.id }" hidden name="id" /> 
								<input id="content" hidden name="contentBasis" />
								<input id="contentType" hidden name="contentType" />
								<div class="bancgud row">
									<div class="formfont wjdc_top col-lg-12">
										<img src="${ctx }/dep/img/wenjuan.png"> <span class="No">NO.1</span>
										<span class="inform">个人基础信息</span>
									</div>

									<div class="col-lg-6">
										<div class="form-group hypading">
											<label class="col-sm-3 control-label no-padding-right">
												<i id="t01" class="fa fa-exclamation-circle"
												style="color: rgb(0, 162, 202);"></i> 姓名<span
												class="help-inline"></span>
											</label>
											<div class="col-sm-9">
												<input type="text" class="form-control"
													id="group_1_name_1_text" name="height" value="${r.name }"
													placeholder="请输入会员姓名" data-bv-notempty="true"
													data-bv-notempty-message="会员姓名不能为空" data-bv-field="name">
												<small data-bv-validator="notEmpty"
													data-bv-validator-for="name" class="help-block"
													style="display: none;">会员姓名不能为空</small>
											</div>
										</div>
										<div class="form-group hypading">
											<label class="col-sm-3 control-label no-padding-right">性别<span
												class="help-inline"></span></label>
											<div class="col-sm-9 collabe">
												<label class="labletab "> <input type="radio"
													id="group_1_six1_radio" name="group_1_six_radio" value="1"
													${r.sex == '1'?'checked':''  } data-bv-field="d"> <span
													class="text">男</span>
												</label> <label class="labletab"> <input type="radio"
													id="group_1_six2_radio" name="group_1_six_radio" value="2"
													${r.sex == '2'?'checked':''  } data-bv-field="d"> <span
													class="text">女</span>
												</label> <label class="labletab"> <input type="radio"
													name="six" id="group_1_six0_radio" name="group_1_six_radio"
													value="2" ${r.sex != '1' && r.sex != '2'?'checked':''}
													data-bv-field="d"> <span class="text">其他</span>
												</label>
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">
												<i id="t01" class="fa fa-exclamation-circle"
												style="color: rgb(0, 162, 202);"></i> 证件号码<span
												class="help-inline"></span>
											</label>
											<div class="col-sm-9">
												<input type="text" class="form-control"
													placeholder="请输入您的证件号码" name="group_1_cardNum_text"
													value="${r.cardNumber }" id="group_1_cardNum_text"
													data-bv-notempty="true" data-bv-notempty-message="证件号码不能为空"
													data-bv-field="Certificates"> <small
													data-bv-validator="notEmpty"
													data-bv-validator-for="Certificates" class="help-block"
													style="display: none;">证件号码不能为空</small>
											</div>
										</div>
										<div class="form-group hypading">
											<label class="col-sm-3 control-label no-padding-right">文化程度<span
												class="help-inline"></span></label>
											<div class="col-sm-9">
												<select tabindex="10" class="form-control"
													name="group_1_culture_select" id="group_1_culture_select"
													data-bv-notempty="true" data-bv-notempty-message="文化程度不能为空"
													data-bv-field="culture">
													<option ${r.highestDegree eq '8' ? 'selected':'' }
														value="8">博士</option>
													<option ${r.highestDegree eq '7' ? 'selected':'' }
														value="7">研究生</option>
													<option ${r.highestDegree eq '6' ? 'selected':'' }
														value="6">大学本科</option>
													<option ${r.highestDegree eq '5' ? 'selected':'' }
														value="5">大学专科</option>
													<option ${r.highestDegree eq '4' ? 'selected':'' }
														value="4">普通高中</option>
													<option ${r.highestDegree eq '3' ? 'selected':'' }
														value="3">中等职业</option>
													<option ${r.highestDegree eq '2' ? 'selected':'' }
														value="2">初级中学</option>
													<option ${r.highestDegree eq '1' ? 'selected':'' }
														value="1">小学</option>
													<option ${r.highestDegree eq '9' ? 'selected':'' }
														value="9">其他</option>
												</select> <small data-bv-validator="notEmpty"
													data-bv-validator-for="culture" class="help-block"
													style="display: none;">文化程度不能为空</small>
											</div>
										</div>
									</div>
									<div class="col-lg-6">
										<div class="form-group hypading">
											<label for="inputEmail3"
												class="col-sm-3 control-label no-padding-right">年龄<span
												class="help-inline"></span></label>
											<div class="col-sm-9">
												<c:set value="${fn:substring(r.birthday,0,4)}" var="age"></c:set>
												<c:if test="${empty age }">
													<c:set value="${fn:substring(r.cardNumber,6,10)}" var="age"></c:set>
												</c:if>
												<input type="text" class="form-control"
													placeholder="请输入您的年龄" name="group_1_age"
													id="group_1_age_text" value="${2017-age}"
													data-bv-notempty="true" data-bv-notempty-message="年龄不能为空"
													data-bv-field="tel"> <small
													data-bv-validator="notEmpty" data-bv-validator-for="tel"
													class="help-block" style="display: none;">年龄不能为空</small>
											</div>
										</div>

										<div class="form-group hypading">
											<label for="inputEmail3"
												class="col-sm-3 control-label no-padding-right"> <i
												id="t01" class="fa fa-exclamation-circle"
												style="color: rgb(0, 162, 202);"></i> 手机号<span
												class="help-inline"></span></label>
											<div class="col-sm-9">
												<input type="text" class="form-control"
													placeholder="请输入您的手机号" name="group_1_tel_text"
													value="${r.memPhone }" id="group_1_tel_text"
													data-bv-notempty="true" data-bv-notempty-message="手机号不能为空"
													data-bv-field="tel"> <small
													data-bv-validator="notEmpty" data-bv-validator-for="tel"
													class="help-block" style="display: none;">手机号不能为空</small>
											</div>
										</div>

										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">婚姻状况<span
												class="help-inline"></span></label>
											<div class="col-sm-9">
												<select tabindex="10" class="col-sm-12 form-control"
													id="group_1_marry_select" name="group_1_marry"
													data-bv-notempty="true" data-bv-notempty-message="婚姻状况不能为空"
													data-bv-field="Marriage">
													<option ${r.marry eq '1'?'selected':'' } value="1">已婚</option>
													<option ${r.marry eq '2'?'selected':'' } value="2">未婚</option>
													<option ${r.marry eq '3'?'selected':'' } value="3">离异</option>
													<option ${r.marry eq '4'?'selected':'' } value="4">丧偶</option>
													<option ${r.marry eq '5'?'selected':'' } value="5">其他</option>
												</select> <small data-bv-validator="notEmpty"
													data-bv-validator-for="Marriage" class="help-block"
													style="display: none;">婚姻状况不能为空</small>
											</div>
										</div>

										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">职业<span
												class="help-inline"></span></label>
											<div class="col-sm-9">
												<select tabindex="10" class="col-sm-12 form-control"
													id="group_1_abbr_select" name="group_1_abbr"
													data-bv-notempty="true" data-bv-notempty-message="婚姻状况不能为空"
													data-bv-field="Marriage">
													<option value="1">企事业单位人员</option>
													<option value="2">农/林/牧/渔/水利业生产人员</option>
													<option value="3">生产、运输设备操作人员及有关人员</option>
													<option value="4">专业技术人员</option>
													<option value="5">办事人员和有关人员</option>
													<option value="6">商业、服务业人员</option>
													<option value="7">军人</option>
													<option value="8">婴幼儿、学龄前儿童</option>
													<option value="9">学生</option>
													<option value="10">失业及下岗人员</option>
													<option value="11">离退休人员</option>
													<option value="12">其他</option>
												</select> <small data-bv-validator="notEmpty"
													data-bv-validator-for="Marriage" class="help-block"
													style="display: none;">职业不能为空</small>
											</div>
										</div>

									</div>
									<div class="clear form-group">
										<div
											class="col-lg-12 col-md-10  col-xs-12 col-sm-9 col-lg-offset-1  col-sm-offset-2 col-md-offset-3">
											<ul
												class="text-center col-lg-10 col-md-10 col-xs-12 col-sm-12  no-padding-left no-padding-right"
												style="list-style: none; border: 1px dashed #F0F0F0; padding: 4px">
												<li class="fl col-lg-2 col-md-2 col-sm-2 col-xs-3 lj_pic"
													title="点击进入常规问卷"
													style="margin-left: 1.5%; margin-right: 1.5%"><a
													href="javascript:void(0)" onclick="upData(1)"
													style="padding: 0px"><img src="${ctx }/images/bg_11.png">
														<span
														style="position: absolute; left: 34%; top: 54px; color: #fff">常规问卷</span></a>
												</li>
												<li class="fl col-lg-2 col-md-2 col-sm-2 col-xs-3 lj_pic"
													title="点击进入体格检查问卷"
													style="margin-left: 1.5%; margin-right: 1.5%"><a
													href="javascript:void(0)" onclick="upData(2)"
													style="padding: 0px"><img src="${ctx }/images/bg_12.png">
														<span
														style="position: absolute; left: 34%; top: 54px; color: #fff">体格检查</span></a>
												</li>
												<li class="fl col-lg-2 col-md-2 col-sm-2 col-xs-3 lj_pic"
													title="点击进入心理问卷"
													style="margin-left: 1.5%; margin-right: 1.5%"><a
													href="javascript:void(0)" onclick="upData(3)"
													style="padding: 0px"><img src="${ctx }/images/bg_13.png">
														<span
														style="position: absolute; left: 42%; top: 54px; color: #fff">心理</span></a>
												</li>
												<li class="fl col-lg-2 col-md-2 col-sm-2 col-xs-3 lj_pic"
													title="点击进入女性问卷"
													style="margin-left: 1.5%; margin-right: 1.5%"><a
													href="javascript:void(0)" onclick="upData(4)"
													style="padding: 0px"><img src="${ctx }/images/bg_14.png">
														<span
														style="position: absolute; left: 42%; top: 54px; color: #fff">女性</span></a>
												</li>
												<li class="fl col-lg-2 col-md-2 col-sm-2 col-xs-3 lj_pic"
													title="点击进入中医问卷"
													style="margin-left: 1.5%; margin-right: 1.5%"><a
													href="javascript:void(0)" 
													style="padding: 0px"><img src="${ctx }/images/bg_15.png">
														<span
														style="position: absolute; left: 42%; top: 54px; color: #fff">中医</span></a>
												</li>

											</ul>
										</div>
									</div>
								</div>
							</form>
						</section>
						<!--</div>-->
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="${ctx}/home/member/surveyRepor.js"></script>

</body>
<!--  /Body -->
<style type="text/css">
.lj_pic:hover {
	transform: scale(1.1, 1.1)
}
</style>
</html>
